package com.niit.session4;

public class Girlfriend {
	char gender ='f';
	int height = 170;
	int weight = 110;
	public static void main(String[] args) {
		Girlfriend girlfriend = new Girlfriend();
		System.out.println(girlfriend.gender);
		System.out.println(girlfriend.height);
		System.out.println(girlfriend.weight);
		girlfriend.shopping();
		
	}
//	如果某个方法，不想被外部的类来访问，要把访问修饰符改为private
	private void shopping() {
		System.out.println("亲爱的，给我买一个LV包包！");
	}

}
